﻿<Window x:Class="WpfKinectUserControlSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:kn="http://schemas.microsoft.com/kinect/2013"
        xmlns:uc="clr-namespace:WpfKinectUserControls;assembly=WpfKinectUserControls"
        Title="MainWindow" Height="682.7" Width="683" Loaded="Window_Loaded">
    <Grid Margin="0,0,0,-20">
        <Grid.RowDefinitions>
            <RowDefinition Height="100"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <kn:KinectSensorChooserUI HorizontalAlignment="Left" VerticalAlignment="Center"  Name="sensorChooserUi" Grid.Row="0" />
        <uc:KinectTiltControl HorizontalAlignment="Center" MaxElevationAngle="25" MinElevationAngle="-25" ElevationAngle="0" CurrentKinectSensor="{Binding Path=Kinect}" Grid.Row="0"/>
        <uc:KinectFilteringParamsControl HorizontalAlignment="Right" Smoothing="0.5" Correction="0.5" Prediction="0.5" JitterRadius="0.04" MaxDeviationRadius="0.03" CurrentKinectSensor="{Binding Path=Kinect}" Grid.Row="0"/>
        <Image Name="ColorImage" Width="640" Height="480" Grid.Row="1" />
    </Grid>
</Window>
